package com.yzf.wisecoder.wisecoderstorage.mysql.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.yzf.wisecoder.wisecoderstorage.mysql.entity.ProjectUserEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author jianghuiyong
 * @email jianghuiyong@yunzhangfang.com
 * @date 2020-05-06 17:43:12
 */
@Mapper
public interface ProjectUserDao extends BaseMapper<ProjectUserEntity> {

    /**
     * 根据projectId删除项目和用户关系
     *
     * @param projectIds
     * @return
     */
    int removeByProjectIds(@Param("projectIds") List<Long> projectIds);
}
